﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.Products
{
    /// <summary>
    /// 工艺路线表
    /// </summary>
    [Table("processroute")]
    public class ProcessRoute : Audit
    {
        /// <summary>
        /// 自增主键ID
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 工艺路线编号（GUID）
        /// </summary>
        public Guid ProcessRouteNumber { get; set; } = Guid.NewGuid();

        /// <summary>
        /// 工艺路线名称
        /// </summary>
        public string ProcessRouteName { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool Status { get; set; } = true;

        /// <summary>
        /// 说明
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool? IsDelete { get; set; } = false;
    }

}
